package 冒泡排序;

public class 第10 {

    public static void who(){
        String[] peopole = new String[]{"甲","乙","丙","丁"};
        for (String s : peopole) {
            int a = 0;
            if (s!="甲"){
                a++;
            }
            if (s=="丙"){
                a++;
            }
            if (s=="丁"){
                a++;
            }
            if(s!="丁"){
                a++;
            }
            while (a==3){
                System.out.println(s);
                break;
            }
        }
    }

    public static void main(String[] args) {
        who();
    }
}
